package com.hejjon.core.exception;

/**
 * @author: Nil caoshi
 * @date: 2025-02-09 20:19:42
 * @since: 1.0
 */
public class BusinessException extends RuntimeException {

    /**
     * 异常消息
     */
    private String msg;

    public BusinessException() {
        super();
    }

    public BusinessException(String msg) {
        super(msg);
        this.msg = msg;
    }

    public BusinessException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
